package com.syq.service;

import com.syq.mapper.UserMapper;
import com.syq.pojo.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ClassName: ServiceImpl
 * @Description: TODO
 * @Create by: syq
 * @Date: 7/7/2022 上午10:08
 */

@Service
public class UserServiceImpl implements UserService{
    private UserMapper userMapper;

    @Resource
    public void setUserMapper(UserMapper userMapper) {
        this.userMapper = userMapper;
    }

    @Override
    public User findUSer() {
        return userMapper.findUser();
    }
}
